<?php 
/**
 * Application Controller Class
 *
 * This class object is the super class that every library will be assigned to.
 */
class Controller {

	public function renderPage($view, $page_data, $returnHTML = false, $custom_path = false){
		return Loader::load_View($view, $page_data, $returnHTML, $custom_path);
	}

	public function outputJSON($status, $data){
		exit(json_encode(array('status'=>$status,'data'=>$data)));
	}
}
